<?php

App::uses('Shell', 'Console');
App::uses('PsfmAdmin', 'Lib');

class FilesShell extends AppShell {

    public function getOptionParser() {
        $parser = parent::getOptionParser();        
        $parser->addSubcommand('fixPermissions');
        return $parser;
    }

    public function fixPermissions() {
        PsfmAdmin::fixFilesPermissions();
    }

}
